<template>
	<view class="content">
		<view class="head">
			<u-navbar leftIcon="arrow-leftward" :placeholder='true' @leftClick="leftClick" title="付款記錄">
			</u-navbar>
		</view>
		<view class="main">
			<view>
				<image class="img" src="../../../static/images/gold.png" mode=""></image>
			</view>
			<view class="daisou">
				待收金額
			</view>
			<view class="price">
				MOP 200.00
			</view>
		</view>
		<view class="order-price">
			<view class="o-l">
				訂單金額
			</view>
			<view class="o-r">
				MOP 600.00
			</view>
		</view>
		<view class="order-price" style="border-bottom: none;justify-content:start">
			<view class="o-l">
				當前狀態
			</view>
			<view style="margin-left: 36rpx;">
				<u-steps inactiveColor="#CBCBCB" activeColor="#645AED" direction="column" dot>
					<u-steps-item title="已支付部分金額 MOP 400.00" desc="2023-04-07 10:42:20"></u-steps-item>
					<u-steps-item title="待收金額 MOP 200.00" desc=""></u-steps-item>
				</u-steps>
			</view>
		</view>
	</view>

</template>

<script>
	export default {
		data() {
			return {
				part_pay_amount: 0
			}
		},
		onLoad(e) {
			this.part_pay_amount = e.part_pay_amount
		},
		methods: {
			leftClick() {
				uni.navigateBack({
					delta: 1
				})
			}
		}
	}
</script>

<style lang="scss">
	.content {
		.main {
			margin: 32rpx 0;
			display: flex;
			flex-direction: column;
			align-items: center;

			.img {
				width: 100rpx;
				height: 100rpx;
			}

			.daisou {
				margin-top: 12rpx;
				font-size: 28rpx;
				font-family: PingFang SC;
				font-weight: 500;
				color: #333333;
			}

			.price {
				margin-top: 12rpx;
				font-size: 48rpx;
				font-family: PingFang SC;
				font-weight: bold;
				color: #333333;
			}
		}

		.order-price {
			padding: 32rpx 0;
			display: flex;
			margin: 0 32rpx;
			justify-content: space-between;
			border-bottom: 1rpx solid #DEDEDE;
			font-size: 28rpx;
			font-family: PingFang SC;
			font-weight: 500;


			.o-l {
				color: #999999;
			}

			.o-r {
				color: #333333;
			}
		}
	}
</style>